package com.pai4j.domain.community.vo.response.resource;
import com.pai4j.domain.vo.response.UserBaseResponseInfoVO;
import lombok.Data;

/**
 *  资源基础数据
 *
 * @author: CYM-pai
 * @date: 2025/10/27 19:42
 **/
@Data
public class ResourceBaseResponseVO {

    /***
     * ID在用户侧是不生效的，即避免用户通过连续ID的规则爬取更多的资源
     */
    private Long id;

    private String resourceId;

    /**
     * 技术社区栏目ID
     */
    private Long ccId;

    private String resourceName;

    private String path;

    private String printPath;

    private String format;

    private String extName;

    private String coverImage;

    private String author;

    private String description;

    private Integer status;

    private String statusDesc;

    private Integer reviewStatus;

    private String reviewUserId;

    private String reviewReason;

    private String reviewStatusDesc;

    private Long reviewTime;

    private Long submitTime;

    private Integer size;

    private String printSize;

    private Integer payType;

    private String printPayType;

    private Integer payAmount;

    private String printPayAmount;

    /***
     * 是否精品资源
     */
    private Boolean isBoutique;

    /***
     * 是否官方资源
     */
    private Boolean isOfficial;

    /***
     * 是否同步首页
     */
    private Boolean isSyncHome;

    private String cloudUrl;

    /***
     * 资源数据
     */
    private ResourceCountResponseVO resourceCount;

    /***
     * 作者信息
     */
    private UserBaseResponseInfoVO authorInfo;

    /***
     * 审核管理者信息
     */
    private UserBaseResponseInfoVO reviewManagerInfo;
}
